﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Collections.ObjectModel;
using BBRILCSharp.ViewModels;

namespace BBRILCSharp.Models
{
    public class AccountModel : ViewModelBase
    {
        public AccountModel()
        {
            ConsumerSecret = "1a6gehf4pfi56Dj1d4TO273K55A1j750";
            IsRememberMe = false;
            IsAutoLogOn = false;
        }

        string _consumerSecret;

        public string ConsumerSecret
        {
            get { return _consumerSecret; }
            set 
            { 
                _consumerSecret = value;
                OnPropertyChanged("ConsumerSecret");
            }
        }

        bool _isRememberMe;

        public bool IsRememberMe
        {
            get { return _isRememberMe; }
            set
            {
                _isRememberMe = value;
                OnPropertyChanged("IsRememberMe");
            }
        }

        bool _isAutoLogOn;

        public bool IsAutoLogOn
        {
            get { return _isAutoLogOn; }
            set 
            {
                _isAutoLogOn = value;
                OnPropertyChanged("IsAutoLogOn");
            }
        }

        string _userName;

        public string UserName
        {
            get { return _userName; }
            set
            {
                _userName = value;
                OnPropertyChanged("UserName");
            }
        }

        string _password;

        public string Password
        {
            get { return _password; }
            set 
            { 
                _password = value;
                OnPropertyChanged("Password");
            }
        }

        string _authToken;

        public string AuthToken
        {
            get { return _authToken; }
            set 
            { 
                _authToken = value;
                OnPropertyChanged("AuthToken");
            }
        }

    }
}
